The Email library allows creation of Emails directly from the Control Script component.
Email Parameters Table |
|
---|---|
Name |
Type/Notes |
From |
string |
Subject |
string |
Body |
string |
To |
array of strings |
CC |
array of strings |
Server |
string |
Password |
string |
UseSsl |
string |
EventHandler |
function to call with status, signature is 'function( table, error ),' where 'table' is the table passed into Send and 'error' is a string (if error occurred) or nil. |
Email.Send { To = { "john_dunn@qscaudio.com" }, From = "jhndnn@gmail.com", Subject = "the date should be correct...", Body = "just testing email out, will this work??", EventHandler = function(t, err) if err then print( "ERROR", err ) else print( "ALL GOOD!" ) end end, Server = "smtp.gmail.com", Password = "XXXXXXX" } |
© 2009 - 2016 QSC, LLC. All rights reserved. QSC and the QSC logo are trademarks of QSC, LLC in the U.S. Patent and Trademark office and other countries. All other trademarks are the property of their respective owners.
http://patents.qsc.com.